#include "YGRenderMethod.h"

namespace YoghurtGum
{
	typedef void (*DLL_START_PLUGIN)(void);

	void RenderMethod::Install()
	{

	}

	RenderMethod::RenderMethod()
	{
		m_SpriteTotal = 0;
		m_BackgroundsFilled = 0;
	}

	RenderMethod::~RenderMethod()
	{

	}

	bool RenderMethod::SetProperty(const char* a_Name, void* a_Data)
	{

		if (0) { }

#if (YG_OS_TYPE == YG_OS_TYPE_WINDOWSMOBILE)

		else if (!strcmp(a_Name, "WindowHandle"))
		{
			m_WindowHandle = *(HWND*)a_Data;
			return true;
		}

#elif (YG_OS_TYPE == YG_OS_TYPE_ANDROID)



#endif

		return false;
	}

	void RenderMethod::SetDeviceDimensions(int32 a_Width, int32 a_Height)
	{
		m_DeviceWidth = a_Width;
		m_DeviceHeight = a_Height;
	}

}; // namespace YoghurtGum